package com.alignet.gn.web;

import java.io.Serializable;

import javax.faces.event.ActionEvent;

import org.springframework.stereotype.Component;

import com.alignet.gn.service.impl.Constants;

@Component("menu")
//@ManagedBean(name = "menu")
public class MenuBean implements Serializable {

	private static final long serialVersionUID = 4089937794197364975L;

	String menuPurchase	= Constants.PAGE_CARDSEARCH;
	String menuQuery	= Constants.PAGE_TRANSSEARCH;
	String menuAnnul	= Constants.PAGE_TRANSANNUL;
	String menuLogout	= Constants.PAGE_LOGOUT;

	public void process(ActionEvent event) {
		
	}

	public String processAction() {

		return "gnTransAnnul";
	}

	public String getMenuPurchase() {
		return menuPurchase;
	}
	public void setMenuPurchase(String menuPurchase) {
		this.menuPurchase = menuPurchase;
	}
	public String getMenuQuery() {
		return menuQuery;
	}
	public void setMenuQuery(String menuQuery) {
		this.menuQuery = menuQuery;
	}
	public String getMenuAnnul() {
		return menuAnnul;
	}
	public void setMenuAnnul(String menuAnnul) {
		this.menuAnnul = menuAnnul;
	}
	public String getMenuLogout() {
		return menuLogout;
	}
	public void setMenuLogout(String menuLogout) {
		this.menuLogout = menuLogout;
	}




}
